//
//  OrderActivityButton.h
//  SDSY
//
//  Created by 蓝布鲁 on 2017/4/10.
//  Copyright (c) 2017 蓝布鲁. All rights reserved.
//

typedef enum {
    CancelActivityEnable,             // 取消预约--enable
    CancelActivityDisable,            // 取消预约--disable

    OrderActivityEnable,              // 预约活动--enable
    OrderActivityDisable,             // 预约活动--disable

    DoingActivityDisable,             // 活动进行中--disable

    CheckEvaluateEnable,              // 查看评价--enable
    CheckEvaluateDisable,             // 查看评价--disable

    ActivityFinishedDisable,          // 活动结束--disable
}OrderActivityButtonType;

typedef void (^OrderActivityCallBack)(OrderActivityButtonType type);




@interface OrderActivityButton : UIButton

@property (nonatomic, assign) OrderActivityButtonType type;         // button类型

-(void)tappedWithTarget:(id)target action:(SEL)action;

@end
